package transfer;

import java.util.ArrayList;
import pojo.League;
import pojo.UserAccount;

public class LeagueData extends Data  {
	private static final long serialVersionUID = -389756243096323206L;
	private ArrayList<League> leagues;
	private UserAccount acc;

	public UserAccount getAcc() {
		return acc;
	}

	public void setAcc(UserAccount acc) {
		this.acc = acc;
	}

	public ArrayList<League> getLeagues() {
		return leagues;
	}

	public void setLeagues(ArrayList<League> leagues) {
		this.leagues = leagues;
	}

	public LeagueData(String header, UserAccount acc, ArrayList<League> leagues){
		super(header);
		this.acc = acc;
		this.leagues = leagues;
	}
}
